<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body >
</body>
</html>


























<!-- easyui定义 -->
<#macro easyui>
<script type="text/javascript" src="${ctx}/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${ctx}/js/jquery.cookie.js"></script>
<link rel="stylesheet" type="text/css" href="${ctx}/js/easyui/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/js/easyui/themes/icon.css" />
<script type="text/javascript" src="${ctx}/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${ctx}/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="${ctx}/js/utils/base.js"></script>
<script type="text/javascript" src="${ctx}/js/utils/jquery.util.js"></script>
<link rel="stylesheet" type="text/css" href="${ctx}/css/css.css" />
</#macro>
<!-- zTree定义 -->
<#macro zTree>
<link type="text/css" rel="stylesheet" href="${ctx}/js/zTree/css/zTreeStyle/zTreeStyle.css" />
<script type="text/javascript" src="${ctx}/js/zTree/js/jquery.ztree.core-3.5.min.js"></script>
<script type="text/javascript" src="${ctx}/js/zTree/js/jquery.ztree.excheck-3.5.min.js"></script>  
</#macro>

<#macro pagetoolbar page,fromName>
<#assign pagecount=page.pageIndex*page.pageSize>
<#if (pagecount>page.totalCount)>
<#assign pagecount=page.totalCount>  
</#if>
<div style="padding:5px;border:0px solid #ddd;text-align: center;">
	<a href="#" class="easyui-linkbutton" data-options="plain:true" onClick="startPage('${fromName}');">第一页</a>&nbsp;&nbsp;
	<a href="#" class="easyui-linkbutton" data-options="plain:true" onClick="upPage('${fromName}');">上一页</a>&nbsp;&nbsp;
	<a href="#" class="easyui-linkbutton" data-options="plain:true" onClick="submitForm('${fromName}');">跳转到</a>
	<input name="pageToolIndex" type="text" value="${page.pageIndex!'1'}" id="pageToolIndex" size="5" class="easyui-validatebox" />页&nbsp;&nbsp;
	<a href="#" class="easyui-linkbutton" data-options="plain:true" onClick="downPage('${fromName}');">下一页</a>&nbsp;&nbsp;
	<a href="#" class="easyui-linkbutton" data-options="plain:true" onClick="endPage('${fromName}');">最后一页</a>&nbsp;&nbsp;
	共<span id="pageCount">${page.pageCount}</span>页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	显示第${(page.pageIndex-1)*page.pageSize+1}条到第${pagecount}条共${page.totalCount}条
</div>
<script src="${ctx}/js/utils/pageToolBar.js"></script>
</#macro>

<#macro wwwpagetoolbar page,fromName>
<#assign pagecount=page.pageIndex*page.pageSize>
<#if (pagecount>page.totalCount)>
<#assign pagecount=page.totalCount>  
</#if>
<div style="padding:5px;border:0px solid #ddd;font-size:14px; color:#333333; margin-left:70px; margin-top:15px">
	总计<span id="pageCount">${page.pageCount!''}</span>页,每页${page.pageSize!''}条,当前是第${page.pageIndex!''}页,
	<a href="#" class="easyui-linkbutton" style="color:#333333" data-options="plain:true" onClick="startPage('${fromName}');">首页</a>&nbsp;
	<a href="#" class="easyui-linkbutton" style="color:#333333" data-options="plain:true" onClick="upPage('${fromName}');">上一页</a>&nbsp;
	<a href="#" class="easyui-linkbutton" style="color:#333333" data-options="plain:true" onClick="downPage('${fromName}');">下一页</a>&nbsp;
	<a href="#" class="easyui-linkbutton" style="color:#333333" data-options="plain:true" onClick="endPage('${fromName}');">末页</a>&nbsp;
	转到第<input name="pageToolIndex" type="text" value="${page.pageIndex!'1'}" id="pageToolIndex" size="3" class="easyui-validatebox" />页&nbsp;
	<input name="button" type="button" value="GO" onClick="submitForm('${fromName}');" />
</div>
<script src="${ctx}/js/utils/wwwpageToolBar.js"></script>
</#macro>